<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html >
<html lang="en">
<head>
<title>卡券管理</title>
<%@include file="../../common/includeBaseSet.jsp" %>
<%@include file="../../common/includeSystemSet.jsp" %>
<link  rel="stylesheet" href="${jypath}/static/css/system/system/style.css">
</head>
<body>
<div class="page-content">
	<!-- 卡券信息 -->
	<div class="row-fluid">	
		<div class="col-xs-12">
		<form id="baseForm" class="form-inline" method="POST" onsubmit="return false;">
		<div class="row">
			<div class="widget-main">	
				<input type="text" name="keyWord" placeholder="这里输入关键词"   class="input-large">
				&nbsp;&nbsp;<span id="cardValid"><label></label>：<select  data-placeholder="状态" name="cardStatus" class="chosen-select isSelect75"></select></span>													
				&nbsp;&nbsp;<button id='searchBtn' class="btn btn-warning  btn-xs" title="过滤" type="button" onclick="getbaseList(1)"><i class="icon-search bigger-110 icon-only"></i></button>
			</div>	
		</div>
		<input type='hidden' class='pageNum' name='pageNum' value='1'/>
		<input type='hidden' class='pageSize'  name='pageSize' value='5'/>
		</form>
		<table id="baseTable" class="table table-striped table-bordered table-hover" >
			<caption>卡券信息</caption>
			<thead>
				<tr>
					<th style="width:3%" class="center">
						<label><input type="checkbox" class="ace" ><span class="lbl"></span></label>
					</th>
					<th style="width:3%"  class="center">序号</th>
					<th style="width:5%" class="center">券名</th>
					<th style="width:3%" class="center">类型</th>
					<th style="width:5%" class="center">使用条件</th>
					<th style="width:5%"  class="center">优惠</th>
					<th style="width:10%"  class="center">有效时间</th>
					<th style="width:3%"  class="center">卡券状态</th>
					<th style="width:5%"  class="center">备注</th>
					<th style="width:5%" class="center">操作</th>
				</tr>
			</thead>
			<tbody></tbody>
		</table>
		<div class="row">
			<div class="col-sm-4">
				<div class="dataTables_info customBtn" >
					<a href="#" title="新增" id="addBtn" class="lrspace3"><i class="icon-plus-sign color-green bigger-220"></i></a>
					<a href="#" title="导入用户" id="adduserBtn" class="lrspace3"><i class="icon-upload-alt color-green bigger-220"></i></a>
					<a href="#" title="批量删除" id="delBatchBtn" class="lrspace3"><i class="icon-trash color-red bigger-220"></i></a>
				</div>
			</div>
			<div class="col-sm-8">
				<!--设置分页位置-->
				<div id="pageing" class="dataTables_paginate paging_bootstrap">
					<ul class="pagination"></ul>
				</div>
			</div>
		</div>
		<!-- #addorUpdateFrom -->
		<%@include file="form.jsp" %>
		<!-- #dialog-confirm -->
		<%@include file="../../common/dialog.jsp" %>	
		</div>
	</div>
	<!-- 用户信息 -->
	<div class="row-fluid" >	
		<div class="col-xs-12" style="margin-top: 50px;">
			<form id="baseForm2" class="form-inline" method="POST" onsubmit="return false;">
			<div class="row">
				<div class="widget-main">	
					<input type="text" name="keyWord" placeholder="这里输入关键词"   class="input-large">
					&nbsp;&nbsp;<span id="useValid"><label></label>：<select  data-placeholder="状态" name="useStatus" class="chosen-select isSelect75"></select></span>													
					&nbsp;&nbsp;<button id='searchBtn2' class="btn btn-warning  btn-xs" title="过滤" type="button" onclick="getbaseList(1)"><i class="icon-search bigger-110 icon-only"></i></button>
					
				</div>	
			</div>
			<input type='hidden' class='pageNum' name='pageNum' value='1'/>
			<input type='hidden' class='pageSize'  name='pageSize' value='5'/>
			</form>
			<table id="baseTable2" class="table table-striped table-bordered table-hover" >
				<caption>卡券-用户信息</caption>
				<thead>
					<tr>
						<th style="width:3%" class="center">
							<label><input type="checkbox" class="ace" ><span class="lbl"></span></label>
						</th>
						<th style="width:3%"  class="center hidden-480">序号</th>
						<th style="width:8%" class="center">券码</th>
						<th style="width:5%" class="center">持卡用户</th>
						<th style="width:5%"  class="center">用户手机号</th>
						<th style="width:3%"  class="center hidden-480">使用状态</th>
						<th style="width:5%"  class="center hidden-480">备注</th>
						<th style="width:5%" class="center">操作</th>
					</tr>
				</thead>
				<tbody></tbody>
			</table>
			<div class="row">
				<div class="col-sm-4">
					<div class="dataTables_info customBtn" >
						<a href="#" title="批量删除" id="delBatchBtn" class="lrspace3"><i class="icon-trash color-red bigger-220"></i></a>
					</div>
				</div>
				<div class="col-sm-8">
					<!--设置分页位置-->
					<div id="pageing2" class="dataTables_paginate paging_bootstrap">
						<ul class="pagination"></ul>
					</div>
				</div>
			</div>	
		</div>
	</div>
</div>	
<script src="${jypath}/static/js/system/back/datepicker_zh_cn.js"></script>	
<script src="${jypath}/static/js/system/back/card/card.js"></script>		
</body>
</html>